[INFO] cloning repository https://github.com/dyne/zenroom_cli
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dyne/zenroom_cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdyne%2Fzenroom_cli", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdyne%2Fzenroom_cli'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ce3ac5b5bd553eaf323b63a73af516b071b24a70
[INFO] checking dyne/zenroom_cli against try#34585ff556bad2462429cd3775623c743928a72f for pr-102593
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdyne%2Fzenroom_cli" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/dyne/zenroom_cli on toolchain 34585ff556bad2462429cd3775623c743928a72f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/dyne/zenroom_cli
[INFO] finished tweaking git repo https://github.com/dyne/zenroom_cli
[INFO] tweaked toml for git repo https://github.com/dyne/zenroom_cli written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/dyne/zenroom_cli already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/dyne/Zenroom`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 76de0ba75f7d13f75eb533f55ff236f77cf24fbb300046308f431302a20a1983
[INFO] running `Command { std: "docker" "start" "-a" "76de0ba75f7d13f75eb533f55ff236f77cf24fbb300046308f431302a20a1983", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "76de0ba75f7d13f75eb533f55ff236f77cf24fbb300046308f431302a20a1983", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "76de0ba75f7d13f75eb533f55ff236f77cf24fbb300046308f431302a20a1983", kill_on_drop: false }`
[INFO] [stdout] 76de0ba75f7d13f75eb533f55ff236f77cf24fbb300046308f431302a20a1983
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 467915e2e37ef1165f5ef3cf429fa102c61cdd1689bb316d1bccfaa1f5bac964
[INFO] running `Command { std: "docker" "start" "-a" "467915e2e37ef1165f5ef3cf429fa102c61cdd1689bb316d1bccfaa1f5bac964", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling bindgen v0.59.2
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling libloading v0.7.3
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling clang-sys v1.4.0
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling shlex v1.1.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling unicode-segmentation v1.7.1
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]    Compiling anyhow v1.0.40
[INFO] [stderr]     Checking os_str_bytes v3.0.0
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]    Compiling which v4.2.4
[INFO] [stderr]    Compiling heck v0.3.2
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]     Checking textwrap v0.13.4
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling env_logger v0.9.1
[INFO] [stderr]    Compiling clap_derive v3.0.0-beta.2 (https://github.com/clap-rs/clap/#73cf47a5)
[INFO] [stderr]     Checking clap v3.0.0-beta.2 (https://github.com/clap-rs/clap/#73cf47a5)
[INFO] [stderr]    Compiling zenroom v0.3.2 (https://github.com/dyne/Zenroom#1ebd999a)
[INFO] [stderr]     Checking zenroom_cli v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0277]: the trait bound `CString: AsRef<str>` is not satisfied
[INFO] [stdout]   --> src/main.rs:58:22
[INFO] [stdout]    |
[INFO] [stdout] 58 |         zencode_exec(script, config, keys, data)
[INFO] [stdout]    |         ------------ ^^^^^^ the trait `AsRef<str>` is not implemented for `CString`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `AsRef<CStr>` is implemented for `CString`
[INFO] [stdout] note: required by a bound in `zencode_exec`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/zenroom-d64e8b097ec036b2/1ebd999/bindings/rust/src/lib.rs:71:18
[INFO] [stdout]    |
[INFO] [stdout] 71 |     script: impl AsRef<str>,
[INFO] [stdout]    |                  ^^^^^^^^^^ required by this bound in `zencode_exec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `CString: AsRef<str>` is not satisfied
[INFO] [stdout]   --> src/main.rs:58:22
[INFO] [stdout]    |
[INFO] [stdout] 58 |         zencode_exec(script, config, keys, data)
[INFO] [stdout]    |         ------------ ^^^^^^ the trait `AsRef<str>` is not implemented for `CString`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `AsRef<CStr>` is implemented for `CString`
[INFO] [stdout] note: required by a bound in `zencode_exec`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/zenroom-d64e8b097ec036b2/1ebd999/bindings/rust/src/lib.rs:71:18
[INFO] [stdout]    |
[INFO] [stdout] 71 |     script: impl AsRef<str>,
[INFO] [stdout]    |                  ^^^^^^^^^^ required by this bound in `zencode_exec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `CString: AsRef<str>` is not satisfied
[INFO] [stdout]   --> src/main.rs:58:30
[INFO] [stdout]    |
[INFO] [stdout] 58 |         zencode_exec(script, config, keys, data)
[INFO] [stdout]    |         ------------         ^^^^^^ the trait `AsRef<str>` is not implemented for `CString`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `AsRef<CStr>` is implemented for `CString`
[INFO] [stdout] note: required by a bound in `zencode_exec`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/zenroom-d64e8b097ec036b2/1ebd999/bindings/rust/src/lib.rs:72:16
[INFO] [stdout]    |
[INFO] [stdout] 72 |     conf: impl AsRef<str>,
[INFO] [stdout]    |                ^^^^^^^^^^ required by this bound in `zencode_exec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `CString: AsRef<str>` is not satisfied
[INFO] [stdout]   --> src/main.rs:58:38
[INFO] [stdout]    |
[INFO] [stdout] 58 |         zencode_exec(script, config, keys, data)
[INFO] [stdout]    |         ------------                 ^^^^ the trait `AsRef<str>` is not implemented for `CString`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `AsRef<CStr>` is implemented for `CString`
[INFO] [stdout] note: required by a bound in `zencode_exec`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/zenroom-d64e8b097ec036b2/1ebd999/bindings/rust/src/lib.rs:73:16
[INFO] [stdout]    |
[INFO] [stdout] 73 |     keys: impl AsRef<str>,
[INFO] [stdout]    |                ^^^^^^^^^^ required by this bound in `zencode_exec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `CString: AsRef<str>` is not satisfied
[INFO] [stdout]   --> src/main.rs:58:44
[INFO] [stdout]    |
[INFO] [stdout] 58 |         zencode_exec(script, config, keys, data)
[INFO] [stdout]    |         ------------                       ^^^^ the trait `AsRef<str>` is not implemented for `CString`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `AsRef<CStr>` is implemented for `CString`
[INFO] [stdout] note: required by a bound in `zencode_exec`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/zenroom-d64e8b097ec036b2/1ebd999/bindings/rust/src/lib.rs:74:16
[INFO] [stdout]    |
[INFO] [stdout] 74 |     data: impl AsRef<str>,
[INFO] [stdout]    |                ^^^^^^^^^^ required by this bound in `zencode_exec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `CString: AsRef<str>` is not satisfied
[INFO] [stdout]   --> src/main.rs:60:22
[INFO] [stdout]    |
[INFO] [stdout] 60 |         zenroom_exec(script, config, keys, data)
[INFO] [stdout]    |         ------------ ^^^^^^ the trait `AsRef<str>` is not implemented for `CString`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `AsRef<CStr>` is implemented for `CString`
[INFO] [stdout] note: required by a bound in `zenroom_exec`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/zenroom-d64e8b097ec036b2/1ebd999/bindings/rust/src/lib.rs:80:18
[INFO] [stdout]    |
[INFO] [stdout] 80 |     script: impl AsRef<str>,
[INFO] [stdout]    |                  ^^^^^^^^^^ required by this bound in `zenroom_exec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `CString: AsRef<str>` is not satisfied
[INFO] [stdout]   --> src/main.rs:60:30
[INFO] [stdout]    |
[INFO] [stdout] 60 |         zenroom_exec(script, config, keys, data)
[INFO] [stdout]    |         ------------         ^^^^^^ the trait `AsRef<str>` is not implemented for `CString`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `AsRef<CStr>` is implemented for `CString`
[INFO] [stdout] note: required by a bound in `zenroom_exec`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/zenroom-d64e8b097ec036b2/1ebd999/bindings/rust/src/lib.rs:81:16
[INFO] [stdout]    |
[INFO] [stdout] 81 |     conf: impl AsRef<str>,
[INFO] [stdout]    |                ^^^^^^^^^^ required by this bound in `zenroom_exec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `CString: AsRef<str>` is not satisfied
[INFO] [stdout]   --> src/main.rs:60:38
[INFO] [stdout]    |
[INFO] [stdout] 60 |         zenroom_exec(script, config, keys, data)
[INFO] [stdout]    |         ------------                 ^^^^ the trait `AsRef<str>` is not implemented for `CString`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `AsRef<CStr>` is implemented for `CString`
[INFO] [stdout] note: required by a bound in `zenroom_exec`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/zenroom-d64e8b097ec036b2/1ebd999/bindings/rust/src/lib.rs:82:16
[INFO] [stdout]    |
[INFO] [stdout] 82 |     keys: impl AsRef<str>,
[INFO] [stdout]    |                ^^^^^^^^^^ required by this bound in `zenroom_exec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `CString: AsRef<str>` is not satisfied
[INFO] [stdout]   --> src/main.rs:60:44
[INFO] [stdout]    |
[INFO] [stdout] 60 |         zenroom_exec(script, config, keys, data)
[INFO] [stdout]    |         ------------                       ^^^^ the trait `AsRef<str>` is not implemented for `CString`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `AsRef<CStr>` is implemented for `CString`
[INFO] [stdout] note: required by a bound in `zenroom_exec`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/zenroom-d64e8b097ec036b2/1ebd999/bindings/rust/src/lib.rs:83:16
[INFO] [stdout]    |
[INFO] [stdout] 83 |     data: impl AsRef<str>,
[INFO] [stdout]    |                ^^^^^^^^^^ required by this bound in `zenroom_exec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |       let (res, success) = if opts.zencode {
[INFO] [stdout]    |  _________^^^^^^^^^^^^^^___-
[INFO] [stdout]    | |         |
[INFO] [stdout]    | |         expected enum `Result`, found tuple
[INFO] [stdout] 58 | |         zencode_exec(script, config, keys, data)
[INFO] [stdout] 59 | |     } else {
[INFO] [stdout] 60 | |         zenroom_exec(script, config, keys, data)
[INFO] [stdout] 61 | |     };
[INFO] [stdout]    | |_____- this expression has type `Result<ZenResult, ZenError>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Result<ZenResult, ZenError>`
[INFO] [stdout]              found tuple `(_, _)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `zenroom_cli` due to 10 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: the trait bound `CString: AsRef<str>` is not satisfied
[INFO] [stdout]   --> src/main.rs:58:30
[INFO] [stdout]    |
[INFO] [stdout] 58 |         zencode_exec(script, config, keys, data)
[INFO] [stdout]    |         ------------         ^^^^^^ the trait `AsRef<str>` is not implemented for `CString`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `AsRef<CStr>` is implemented for `CString`
[INFO] [stdout] note: required by a bound in `zencode_exec`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/zenroom-d64e8b097ec036b2/1ebd999/bindings/rust/src/lib.rs:72:16
[INFO] [stdout]    |
[INFO] [stdout] 72 |     conf: impl AsRef<str>,
[INFO] [stdout]    |                ^^^^^^^^^^ required by this bound in `zencode_exec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `CString: AsRef<str>` is not satisfied
[INFO] [stdout]   --> src/main.rs:58:38
[INFO] [stdout]    |
[INFO] [stdout] 58 |         zencode_exec(script, config, keys, data)
[INFO] [stdout]    |         ------------                 ^^^^ the trait `AsRef<str>` is not implemented for `CString`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `AsRef<CStr>` is implemented for `CString`
[INFO] [stdout] note: required by a bound in `zencode_exec`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/zenroom-d64e8b097ec036b2/1ebd999/bindings/rust/src/lib.rs:73:16
[INFO] [stdout]    |
[INFO] [stdout] 73 |     keys: impl AsRef<str>,
[INFO] [stdout]    |                ^^^^^^^^^^ required by this bound in `zencode_exec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `CString: AsRef<str>` is not satisfied
[INFO] [stdout]   --> src/main.rs:58:44
[INFO] [stdout]    |
[INFO] [stdout] 58 |         zencode_exec(script, config, keys, data)
[INFO] [stdout]    |         ------------                       ^^^^ the trait `AsRef<str>` is not implemented for `CString`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `AsRef<CStr>` is implemented for `CString`
[INFO] [stdout] note: required by a bound in `zencode_exec`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/zenroom-d64e8b097ec036b2/1ebd999/bindings/rust/src/lib.rs:74:16
[INFO] [stdout]    |
[INFO] [stdout] 74 |     data: impl AsRef<str>,
[INFO] [stdout]    |                ^^^^^^^^^^ required by this bound in `zencode_exec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `CString: AsRef<str>` is not satisfied
[INFO] [stdout]   --> src/main.rs:60:22
[INFO] [stdout]    |
[INFO] [stdout] 60 |         zenroom_exec(script, config, keys, data)
[INFO] [stdout]    |         ------------ ^^^^^^ the trait `AsRef<str>` is not implemented for `CString`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `AsRef<CStr>` is implemented for `CString`
[INFO] [stdout] note: required by a bound in `zenroom_exec`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/zenroom-d64e8b097ec036b2/1ebd999/bindings/rust/src/lib.rs:80:18
[INFO] [stdout]    |
[INFO] [stdout] 80 |     script: impl AsRef<str>,
[INFO] [stdout]    |                  ^^^^^^^^^^ required by this bound in `zenroom_exec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `CString: AsRef<str>` is not satisfied
[INFO] [stdout]   --> src/main.rs:60:30
[INFO] [stdout]    |
[INFO] [stdout] 60 |         zenroom_exec(script, config, keys, data)
[INFO] [stdout]    |         ------------         ^^^^^^ the trait `AsRef<str>` is not implemented for `CString`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `AsRef<CStr>` is implemented for `CString`
[INFO] [stdout] note: required by a bound in `zenroom_exec`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/zenroom-d64e8b097ec036b2/1ebd999/bindings/rust/src/lib.rs:81:16
[INFO] [stdout]    |
[INFO] [stdout] 81 |     conf: impl AsRef<str>,
[INFO] [stdout]    |                ^^^^^^^^^^ required by this bound in `zenroom_exec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `CString: AsRef<str>` is not satisfied
[INFO] [stdout]   --> src/main.rs:60:38
[INFO] [stdout]    |
[INFO] [stdout] 60 |         zenroom_exec(script, config, keys, data)
[INFO] [stdout]    |         ------------                 ^^^^ the trait `AsRef<str>` is not implemented for `CString`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `AsRef<CStr>` is implemented for `CString`
[INFO] [stdout] note: required by a bound in `zenroom_exec`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/zenroom-d64e8b097ec036b2/1ebd999/bindings/rust/src/lib.rs:82:16
[INFO] [stdout]    |
[INFO] [stdout] 82 |     keys: impl AsRef<str>,
[INFO] [stdout]    |                ^^^^^^^^^^ required by this bound in `zenroom_exec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `CString: AsRef<str>` is not satisfied
[INFO] [stdout]   --> src/main.rs:60:44
[INFO] [stdout]    |
[INFO] [stdout] 60 |         zenroom_exec(script, config, keys, data)
[INFO] [stdout]    |         ------------                       ^^^^ the trait `AsRef<str>` is not implemented for `CString`
[INFO] [stdout]    |         |
[INFO] [stdout]    |         required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `AsRef<CStr>` is implemented for `CString`
[INFO] [stdout] note: required by a bound in `zenroom_exec`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/git/checkouts/zenroom-d64e8b097ec036b2/1ebd999/bindings/rust/src/lib.rs:83:16
[INFO] [stdout]    |
[INFO] [stdout] 83 |     data: impl AsRef<str>,
[INFO] [stdout]    |                ^^^^^^^^^^ required by this bound in `zenroom_exec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |       let (res, success) = if opts.zencode {
[INFO] [stdout]    |  _________^^^^^^^^^^^^^^___-
[INFO] [stdout]    | |         |
[INFO] [stdout]    | |         expected enum `Result`, found tuple
[INFO] [stdout] 58 | |         zencode_exec(script, config, keys, data)
[INFO] [stdout] 59 | |     } else {
[INFO] [stdout] 60 | |         zenroom_exec(script, config, keys, data)
[INFO] [stdout] 61 | |     };
[INFO] [stdout]    | |_____- this expression has type `Result<ZenResult, ZenError>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Result<ZenResult, ZenError>`
[INFO] [stdout]              found tuple `(_, _)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `zenroom_cli` due to 10 previous errors
[INFO] running `Command { std: "docker" "inspect" "467915e2e37ef1165f5ef3cf429fa102c61cdd1689bb316d1bccfaa1f5bac964", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "467915e2e37ef1165f5ef3cf429fa102c61cdd1689bb316d1bccfaa1f5bac964", kill_on_drop: false }`
[INFO] [stdout] 467915e2e37ef1165f5ef3cf429fa102c61cdd1689bb316d1bccfaa1f5bac964
